/*
 * @Author: i@douxuefeng.cn
 * @Date: 2022-05-14 16:37:54
 * @LastEditTime: 2022-05-14 16:38:01
 * @LastEditors: i@douxuefeng.cn
 * @Description:
 * @FilePath: \go-utils\wechat\mp\params\openapi.go
 */
package params

type CheckQuota struct {
	Errcode int    `json:"errcode"`
	Errmsg  string `json:"errmsg"`
	Quota   Quota  `json:"quota,omitempty"`
}

type Quota struct {
	DailyLimit int `json:"daily_limit"`
	Used       int `json:"used"`
	Remain     int `json:"remain"`
}

type CheckRid struct {
	Errcode int        `json:"errcode"`
	Errmsg  string     `json:"errmsg"`
	Request RidRequest `json:"request"`
}

type RidRequest struct {
	InvokeTime   string `json:"invoke_time"`
	CostInMs     string `json:"cost_in_ms"`
	RequestUrl   string `json:"request_url"`
	RequestBody  string `json:"request_body"`
	ResponseBody string `json:"response_body"`
}
